package io.babystar.modules.business.entity;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 学生表
 * 
 * @author jeson
 * @email 574197743@qq.com
 * @date 2019-01-22 09:48:47
 */
@Data
@TableName("student")
public class StudentEntityAll implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 主键
	 */
	@TableId
	private Long id;
	/**
	 * 
	 */
	private Integer shopid;

	private Integer parentId;

	private String shopName;
	/**
	 * 学生名字
	 */
	private String studentname;
	/**
	 * 学生年龄
	 */
	private String studentage;
	/**
	 * 学生妈
	 */
	private String studentmather;
	/**
	 * 学生妈电话
	 */
	private String matherphone;
	/**
	 * 学生爸
	 */
	private String studentfather;
	/**
	 * 学生爸电话
	 */
	private String fatherphone;
	/**
	 * 其它联系人
	 */
	private String other;
	/**
	 * 其它联系人电话
	 */
	private String otherphone;
	/**
	 * 学生性别0女1男
	 */
	private Integer male;
	/**
	 * 学生照片
	 */
	private String studentpic;
	/**
	 * 剩余积分
	 */
	private Integer residualintegral;
	/**
	 * 会员卡类型
	 */
	private Integer cardtype;

	private String cardtypeName;
	/**
	 * 会员卡状态
	 */
	private Integer cardstatus;
	/**
	 * 会员卡号
	 */
	private Integer cardnum;
	/**
	 * 赠送装备
	 */
	private String giftequipment;
	/**
	 * 剩余课时
	 */
	private Integer residualclasshour;

	private Integer classPeriod;

	private Integer weekLimit;
	/**
	 * 到期时间
	 */
	@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
	private Date duetime;

	@TableField(exist=false)
	private String duetimeStr;

	/**
	 * 学员缴费
	 */
	private Double payment;
	/**
	 * 备注
	 */
	private String remark;
	/**
	 * 新增时间
	 */
	private Date createtime;
	/**
	 * 修改时间
	 */
	private Date updatetime;
	// 选课Id
	private String courseId;

	private String courseName;

	private List<Integer> coursetimeid;

	/**
	 * 推荐人
	 */
	private String refereename;

	/**
	 * 家庭住址
	 */
	private String address;
	/**
	 * 现就读学校
	 */
	private String school;
	/**
	 * 课程顾问
	 */
	private String consultant;

	private String password;

	private Long userId;

	private Long businessId;

	/**
	 * 人数统计
	 */
	private Integer peopleCount;

	/**
	 * 课消率
	 */
	@TableField(exist=false)
	private Double classEeliminationRate;
	@TableField(exist=false)
	private Integer cancelCount;
	@TableField(exist=false)
	private Integer totalCount;

    public Integer getCancelCount() {
        return cancelCount;
    }

    public void setCancelCount(Integer cancelCount) {
        this.cancelCount = cancelCount;
    }

    public Integer getTotalCount() {
        return totalCount;
    }

    public void setTotalCount(Integer totalCount) {
        this.totalCount = totalCount;
    }

    public Double getClassEeliminationRate() {
		return classEeliminationRate;
	}

	public void setClassEeliminationRate(Double classEeliminationRate) {
		this.classEeliminationRate = classEeliminationRate;
	}

	public Integer getPeopleCount() {
		return peopleCount;
	}

	public void setPeopleCount(Integer peopleCount) {
		this.peopleCount = peopleCount;
	}

	/**
	 * 设置：主键
	 */
	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * 获取：主键
	 */
	public Long getId() {
		return id;
	}
	/**
	 * 设置：
	 */
	public void setShopid(Integer shopid) {
		this.shopid = shopid;
	}
	/**
	 * 获取：
	 */
	public Integer getShopid() {
		return shopid;
	}
	/**
	 * 设置：学生名字
	 */
	public void setStudentname(String studentname) {
		this.studentname = studentname;
	}
	/**
	 * 获取：学生名字
	 */
	public String getStudentname() {
		return studentname;
	}
	/**
	 * 设置：学生年龄
	 */
	public void setStudentage(String studentage) {
		this.studentage = studentage;
	}
	/**
	 * 获取：学生年龄
	 */
	public String getStudentage() {
		return studentage;
	}
	/**
	 * 设置：学生妈
	 */
	public void setStudentmather(String studentmather) {
		this.studentmather = studentmather;
	}
	/**
	 * 获取：学生妈
	 */
	public String getStudentmather() {
		return studentmather;
	}
	/**
	 * 设置：学生妈电话
	 */
	public void setMatherphone(String matherphone) {
		this.matherphone = matherphone;
	}
	/**
	 * 获取：学生妈电话
	 */
	public String getMatherphone() {
		return matherphone;
	}
	/**
	 * 设置：学生爸
	 */
	public void setStudentfather(String studentfather) {
		this.studentfather = studentfather;
	}
	/**
	 * 获取：学生爸
	 */
	public String getStudentfather() {
		return studentfather;
	}
	/**
	 * 设置：学生爸电话
	 */
	public void setFatherphone(String fatherphone) {
		this.fatherphone = fatherphone;
	}
	/**
	 * 获取：学生爸电话
	 */
	public String getFatherphone() {
		return fatherphone;
	}
	/**
	 * 设置：其它联系人
	 */
	public void setOther(String other) {
		this.other = other;
	}
	/**
	 * 获取：其它联系人
	 */
	public String getOther() {
		return other;
	}
	/**
	 * 设置：其它联系人电话
	 */
	public void setOtherphone(String otherphone) {
		this.otherphone = otherphone;
	}
	/**
	 * 获取：其它联系人电话
	 */
	public String getOtherphone() {
		return otherphone;
	}
	/**
	 * 设置：学生性别0女1男
	 */
	public void setMale(Integer male) {
		this.male = male;
	}
	/**
	 * 获取：学生性别0女1男
	 */
	public Integer getMale() {
		return male;
	}
	/**
	 * 设置：学生照片
	 */
	public void setStudentpic(String studentpic) {
		this.studentpic = studentpic;
	}
	/**
	 * 获取：学生照片
	 */
	public String getStudentpic() {
		return studentpic;
	}
	/**
	 * 设置：剩余积分
	 */
	public void setResidualintegral(Integer residualintegral) {
		this.residualintegral = residualintegral;
	}
	/**
	 * 获取：剩余积分
	 */
	public Integer getResidualintegral() {
		return residualintegral;
	}
	/**
	 * 设置：会员卡类型
	 */
	public void setCardtype(Integer cardtype) {
		this.cardtype = cardtype;
	}
	/**
	 * 获取：会员卡类型
	 */
	public Integer getCardtype() {
		return cardtype;
	}
	/**
	 * 设置：会员卡状态
	 */
	public void setCardstatus(Integer cardstatus) {
		this.cardstatus = cardstatus;
	}
	/**
	 * 获取：会员卡状态
	 */
	public Integer getCardstatus() {
		return cardstatus;
	}
	/**
	 * 设置：会员卡号
	 */
	public void setCardnum(Integer cardnum) {
		this.cardnum = cardnum;
	}
	/**
	 * 获取：会员卡号
	 */
	public Integer getCardnum() {
		return cardnum;
	}
	/**
	 * 设置：赠送装备
	 */
	public void setGiftequipment(String giftequipment) {
		this.giftequipment = giftequipment;
	}
	/**
	 * 获取：赠送装备
	 */
	public String getGiftequipment() {
		return giftequipment;
	}
	/**
	 * 设置：剩余课时
	 */
	public void setResidualclasshour(Integer residualclasshour) {
		this.residualclasshour = residualclasshour;
	}
	/**
	 * 获取：剩余课时
	 */
	public Integer getResidualclasshour() {
		return residualclasshour;
	}
	/**
	 * 设置：到期时间
	 */
	public void setDuetime(Date duetime) {
		this.duetime = duetime;
	}
	/**
	 * 获取：到期时间
	 */
	public Date getDuetime() {
		return duetime;
	}

    public Double getPayment() {
        return payment;
    }

    public void setPayment(Double payment) {
        this.payment = payment;
    }

    /**
	 * 设置：备注
	 */
	public void setRemark(String remark) {
		this.remark = remark;
	}
	/**
	 * 获取：备注
	 */
	public String getRemark() {
		return remark;
	}
	/**
	 * 设置：新增时间
	 */
	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}
	/**
	 * 获取：新增时间
	 */
	public Date getCreatetime() {
		return createtime;
	}
	/**
	 * 设置：修改时间
	 */
	public void setUpdatetime(Date updatetime) {
		this.updatetime = updatetime;
	}
	/**
	 * 获取：修改时间
	 */
	public Date getUpdatetime() {
		return updatetime;
	}

	public String getCourseId() {
		return courseId;
	}

	public void setCourseId(String courseId) {
		this.courseId = courseId;
	}

	public List<Integer> getCoursetimeid() {
		return coursetimeid;
	}

	public void setCoursetimeid(List<Integer> coursetimeid) {
		this.coursetimeid = coursetimeid;
	}

	public String getRefereename() {
		return refereename;
	}

	public void setRefereename(String refereeName) {
		this.refereename = refereeName;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getSchool() {
		return school;
	}

	public void setSchool(String school) {
		this.school = school;
	}

	public String getConsultant() {
		return consultant;
	}

	public void setConsultant(String consultant) {
		this.consultant = consultant;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getShopName() {
		return shopName;
	}

	public void setShopName(String shopName) {
		this.shopName = shopName;
	}

	public String getCardtypeName() {
		return cardtypeName;
	}

	public void setCardtypeName(String cardtypeName) {
		this.cardtypeName = cardtypeName;
	}

	public String getCourseName() {
		return courseName;
	}

	public void setCourseName(String courseName) {
		this.courseName = courseName;
	}
}
